package com.yitong.equipment.network

import io.reactivex.disposables.Disposable

interface ApiCallback<T> {
    fun onSuccess(model: T)

    fun onFailure(code: Int, msg: String?)

    fun onSubscribe(d: Disposable?)

    fun onCompleted()
}